#include"class_2.hh"
using namespace std;
Point::Point(int x,int y)
    :_pt_x(x)
     ,_pt_y(y){
         cout<<"point"<<endl;
     };

Line::Line(int x1,int y1,int x2,int y2)
    :_pt1(x1,y1)
     ,_pt2(x2,y2){
         cout<<"line"<<endl;
     };

test::test(int val)
     :_test1(val)
     ,_test2(_test1){                  
          cout<<"test"<<endl;
      }
/*test::test()
    :_test1(999)
     ,_test2(0){
         cout<<"test1"<<endl;
     }*/
void test::gets(){
    cout<<_test1<<endl;
    cout<<_test2<<endl;

}
Point::~Point(){
    cout<<"~point"<<endl;
}
int main()
{
//    Line line(2,3,4,5);
    test t(1);
    t.gets();
 //   t1.gets();
    std::cout << "Hello world" << std::endl;
    return 0;
}

